HTTP Headers
-
Representation of the HTTP headers associated with a
HTTPRequestorHTTPResponse. Headers are subscriptable using case-insensitive comparison or provideNameconstants. eg.let contentLength = headers["content-length"]or
See morelet contentLength = headers[.contentLength]Declaration
Swift
public struct HTTPHeaders
-
Version number of the HTTP Protocol
See moreDeclaration
Swift
public struct HTTPVersion
View on GitHub
HTTP Headers Reference